package com.zyll.lp;

import org.apache.tomcat.util.http.ResponseUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@RestController
public class ZyllApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(ZyllApiApplication.class, args);
    }



    @RequestMapping("/")
    public ResponseEntity index(){
        return ResponseEntity.ok("主页");
    }

}
